(Qaaf) 50 : 12
كَذَّبَتْ قَبْلَهُمْ قَوْمُ نُوحٍ وَأَصْحَابُ الرَّسِّ وَثَمُودُ

Before them the people of Noah had rejected, the companions of Ar’raass (the well), and Thamood.

See explanation 25: 38; and 40: 4-6.